(define-module (emacs spray)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system emacs)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (gnu packages emacs-xyz))

(define-public emacs-spray
  (package
    (name "emacs-spray")
    (version "20160304.2220")
    (source
     (origin
       (method url-fetch)
       (uri (string-append
             "https://melpa.org/packages/spray-"
             version
             ".el"))
       (sha256
        (base32
         "0wwrgpyss44lh9c9shyr9zig0k43clxv0zd7v667ibsv5vc04931"))))
    (build-system emacs-build-system)
    (home-page
     "https://github.com/ian-kelling/spray")
    (synopsis "Speed reading mode")
    (description
     "For speed reading, or just more enjoyable reading.  Narrows the
buffer to show one word at a time.")
    (license license:gpl3+)))
